<form class="form form-horizontal" id="form" method="post" action="{:url('edit_class')}">
						
	<input type="hidden" name="id" value="{$vo.id ?? ''}">
	<div class="row cl">
	    <label class="form-label col-xs-1 col-sm-1"><span class="c-red">*</span>分类所属：</label>
	    <div class="formControls col-xs-3 col-sm-3">
	        <span class="select-box ">
				<select class="select" size="1" name="style">
					{php}
						if(isset($vo['style']) && $vo['style']==1){
							echo "
								<option value='0'>材料商</option>
								<option value='1' selected>租赁商</option>
							";
						}else{
							echo "
								<option value='0' selected>材料商</option>
								<option value='1'>租赁商</option>
							";
						}
					{/php}
				</select>
	        </span>
	    </div>
	    <div class="col-xs-3 col-sm-3"></div>
	</div>
    <div class="row cl">
        <label class="form-label col-xs-1 col-sm-1"><span class="c-red">*</span>分类名称：</label>
        <div class="formControls col-xs-3 col-sm-3">
            <input type="text" class="input-text" placeholder="分类名称" name="name" value="{$vo.name ?? ''}"  datatype="*" nullmsg="不能为空">
        </div>
        <div class="col-xs-3 col-sm-3"></div>
    </div>
    <div class="row cl mb-20">
    	<div class="col-sm-1">
    	</div>
        <div class="col-xs-1 col-sm-1">
            <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
        </div>
    </div>
</form>